all: jni_test

jni_test: jni_test.c
	gcc -I/usr/lib/jvm/java-7-openjdk-amd64/include -L/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/ $? -o $@ -ljvm
	
clean:
	rm -fr jni_test
	
run:
	@LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/	./jni_test

javap:
	javap -s -p  -classpath ../target/PFSBuilder*.jar com.pfsbuilder.fuse.FuseStub



